package com.fanh.service;

import com.fanh.dto.GuideFavoriteResult;
import com.fanh.model.GuideFavorite;
import com.fanh.model.SysUser;
import org.springframework.security.core.userdetails.UserDetails;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;
import java.util.Map;

public interface GuideFavoriteService {


    List<GuideFavoriteResult> coursefavList(String userId, Integer pageNo, Integer pageSize);

    boolean checkFav(String courseId, String userId);

    int deleteCoursefav(String courseId, String userId);

    int insert(GuideFavorite guideFavorite);
}
